<?php

namespace app\api\controller\test;

use app\api\service\order\paysuccess\type\GradePaySuccessService;
use app\common\enum\order\OrderPayTypeEnum;
use app\common\service\Result;

/**
 * 用户等级管理模型
 */
class GradeTest
{
    public function testPay()
    {
        $order_id = input("order_no");
        $service = new GradePaySuccessService($order_no);
        $service->onPaySuccess(OrderPayTypeEnum::WECHAT);
        return Result::success();
    }
}